package com.wonders.ssh.service;

import java.util.List;

import com.wonders.ssh.model.User;

/**
 * liubiao
 */
public interface UserService {
	/**
	 * 通过用户名获取user对象
	 * @param username
	 * @return
	 */
	public void save(User user);
	public void delete(User user);
	public User findById(java.lang.Integer id);
	public List findByUsername(Object username);
	public List findAll();
}
